# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=extrace
pkgver=0.9
pkgrel=0
pkgdesc="Trace exec() calls system-wide"
url="https://github.com/leahneukirchen/extrace"
arch="all"
license="BSD-2-Clause AND GPL-2.0-or-later"
makedepends="linux-headers"
subpackages="$pkgname-doc"
source="https://github.com/leahneukirchen/extrace/archive/v$pkgver/extrace-$pkgver.tar.gz"
options="!check" # no test suite

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" PREFIX="/usr" install
}

sha512sums="
dfc2abaccf9e24428b1e3eacb12d11bb304d6a854f11d0be546d536369f8e0e9c81d52fd2a8f242f7d342c121693e7e3cadf5f9650cff5e81232b0853200b1bc  extrace-0.9.tar.gz
"
